package day004;

public class WhileDemo {
    public static void main(String[] args) {
        int times = 0;
        while (times < 5) {
            System.out.println("你还可以");
            times++;
        }
         /*
            times=0
            true 输出 times=1
            true 输出 times=2
            true 输出 times=3
            true 输出 times=4
            true 输出 times=5
            false while循环结束

         */

        int num = 1;
        while (num <=9) {
            System.out.println(num+"*9="+num*9);
            num += 2;

        }


    }
}

